package com.stargis.ftpdown;


import cn.hutool.http.HttpUtil;

public class testCon {

    public static void main(String[] args){
        String fullurl= "http://192.168.20.122/cgi-bin/ace_web_auth.cgi?web_jumpto=&orig_referer=&username=sujun&userpwd=sjcl@2013&login_page=&temp_account=0&path=-6&u_type=1";
        // 发起GET请求
        String  result = HttpUtil.get(fullurl);
        if(result.contains("auth_type=1")){
            System.out.println("网络连接成功！");
        }
    }
}
